package com.jk.service;

import com.jk.entity.TransferRecord;
import com.jk.entity.YuEBao;

import java.util.List;

/**
 * Created by 动物的 on 2017/12/21.
 */
public interface YuebaoService {
    /**查询余额宝*/
    YuEBao selectYuebao(String userId);

    /**转入（修改）*/
    boolean updateYuebao(String userId, double shiftTo);

    /**转出（修改）*/
    boolean updateZhuanchu(String userId, double rollOut);


    List<TransferRecord> getTransferRecord(String userId);
}
